home *** CD-ROM | disk | FTP | other *** search
- NEAREST(3I) Last changed: 1-6-98
-
-
- NNAAMMEE
- NNEEAARREESSTT - Returns the nearest different machine representable number
- in a given direction
-
- SSYYNNOOPPSSIISS
- NNEEAARREESSTT (([XX==]_x,, [SS==]_s))
-
- IIMMPPLLEEMMEENNTTAATTIIOONN
- UNICOS, UNICOS/mk, and IRIX systems
-
- SSTTAANNDDAARRDDSS
- Fortran 90
-
- DDEESSCCRRIIPPTTIIOONN
- The NNEEAARREESSTT intrinsic function returns the nearest different machine
- representable number in a given direction. It accepts the following
- arguments:
-
- _x Must be of type real
-
- _s Must be of type real and not equal to zero
-
- NNEEAARREESSTT is an elemental function. The name of this intrinsic cannot
- be passed as an argument.
-
- RREETTUURRNN VVAALLUUEESS
- The result type and type parameter are the same as _x. The result has
- a value equal to the machine representable number distinct from _x and
- nearest to it in the direction of the infinity with the same sign as
- _s.
-
- NNOOTTEESS
- On CRAY T90 systems that support IEEE arithmetic, this intrinsic
- vectorizes inline for 64-bit operands and calls to scalar-only library
- routines for 128-bit operands.
-
- EEXXAAMMPPLLEESS -46
- NNEEAARREESSTT ((33..00,, 22..00)) has the value 3 + 2 on UNICOS systems according
- to the real number system model.
- -22
- NNEEAARREESSTT ((33..00,, 22..00)) has the value 3 + 2 on UNICOS/mk and IRIX
- systems, according to the real number system model.
-
- For more information on the real number model, see the MMOODDEELLSS(3I) man
- page.
-
- SSEEEE AALLSSOO
- MMOODDEELLSS(3I)
-
- _I_n_t_r_i_n_s_i_c _P_r_o_c_e_d_u_r_e_s _R_e_f_e_r_e_n_c_e _M_a_n_u_a_l, publication SR-2138, for the
- printed version of this man page.
-
-